import java.util.Scanner;

public class demo1 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while(scan.hasNext()){
            String line = scan.nextLine();
            StringBuilder stringBuilder = new StringBuilder();
            for(int i=0; i<line.length(); i++){
                char c = line.charAt(i);
                if(c == ' '){
                    stringBuilder.append(" ");
                }else{
                    stringBuilder.append((char)(c>'E'? c-5 : c+21));
                }
            }
            System.out.println(stringBuilder);
        }
    }
}
